-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
3.1.15 (latest)
-
Code
-
Classes
- POS_Role
Total Complexity |
118 |
Dependencies |
12 |
Dependents |
2 |
Total lines |
871 |
Lines of code |
659 |
Logical lines of code |
376 |
Comment lines |
143 |
Methods |
29 |
Properties |
0 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
default_resources() |
A |
30 |
2 |
149 |
delete_item() |
A |
46 |
9 |
40 |
add_wordpress_roles() |
A |
48 |
9 |
34 |
role_prefix() |
A |
55 |
8 |
18 |
access_data() |
S |
52 |
7 |
25 |
acl_toggle() |
S |
50 |
6 |
31 |
copy_role() |
S |
51 |
6 |
26 |
updated_role() |
S |
52 |
6 |
25 |
data() |
S |
48 |
5 |
38 |
edit() |
S |
51 |
5 |
28 |
status_change() |
S |
52 |
5 |
25 |
is_agent_status_change() |
S |
51 |
5 |
25 |
import_wp_roles() |
S |
54 |
5 |
20 |
is_role_editable() |
S |
57 |
5 |
16 |
reset_role() |
S |
55 |
4 |
20 |
reset_roles() |
S |
58 |
4 |
16 |
add() |
S |
58 |
4 |
16 |
new_role_added() |
S |
59 |
4 |
15 |
removed_role() |
S |
63 |
5 |
10 |
item_details() |
S |
56 |
3 |
19 |
is_exists_role() |
S |
63 |
3 |
11 |
on_init() |
S |
52 |
1 |
24 |
get_action_prefix() |
S |
82 |
1 |
3 |
get_menu_title() |
S |
80 |
1 |
3 |
option_form() |
S |
77 |
1 |
4 |
get_menu_sub_title() |
S |
80 |
1 |
3 |
on_active() |
S |
72 |
1 |
6 |
get_menu_icon() |
S |
82 |
1 |
3 |
initialize() |
S |
69 |
1 |
6 |